# 运算符 + - * / ** % //
# ++ -- += -= *= /= %= **= //=
a = 10
b = 3
print(a + b)  # 13
print(a - b)  # 7
print(a * b)  # 30
print(a / b)  # 3.3333333333333335
print(a ** b)  # 1000
print(a % b)  # 1
print(a // b)  # 3

# 比较运算符 > < >= <= == !=
a = 10
b = 3
print(a > b)  # True
print(a < b)  # False
print(a >= b)  # True
print(a <= b)  # False
print(a == b)  # 等于
print(a != b)  # 不等于

# 逻辑运算符 and or not
a = 10
b = 3
print(a > b and a < 20)  # True and True = True
print(a > b or a < 20)  # True or True = True
print(not a > b)

# 加入占位符使用
number = 10
number2 = 3
print("a = %d, b = %d" % (a, b))
print("%s % %s = %s" % (number, number2, number / number2))
